package org.korosoft.rusalad.syncnrun.messaging;

/**
 * Syncnrun messaging endpoint.
 *
 * @author Dmitry Korotkov
 * @since 1.0
 */
public interface MessageProcessor {
    /**
     * Method processMessage processes incoming message.
     *
     * @param route   Incoming message route
     * @param message Incoming message
     */
    public void processMessage(MessageRoute route, Message message);
}
